<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>登录页面</title>
   <style>
    /* style.css */
        body {
        margin: 0;
        font-family: Arial, sans-serif;
        background: linear-gradient(135deg, #3b80f7, #6238f7);
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        }

        .container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        }

        .login-box {
        background: #fff;
        border-radius: 12px;
        width: 360px;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .logo {
        text-align: center;
        margin-bottom: 20px;
        }

        .logo img {
        max-width: 100%;
        }

        h2 {
        text-align: center;
        margin-bottom: 20px;
        color: #333;
        }

        .input-group {
        position: relative;
        margin-bottom: 15px;
        }

        .input-group i.icon {
        position: absolute;
        left: 10px;
        top: 10px;
        font-size: 16px;
        color: #aaa;
        }

        .input-group input {
          width: 80%;
          padding: 10px 10px 10px 35px;
          border: 1px solid #ccc;
          border-radius: 5px;
          outline: none;
          font-size: 14px;
        }

        .input-group span.email {
        position: absolute;
        right: 40px;
        top: 12px;
        font-size: 14px;
        color: #999;
        }

        .input-group span.captcha {
          position: absolute;
          right: 30px;
          top: 6px;
          background: #eee;
          padding: 5px 10px;
          border-radius: 5px;
          font-size: 14px;
          color: #333;
        }

        .forgot-password {
        text-align: right;
        margin-bottom: 20px;
        margin-right: 30px;
        }

        .forgot-password a {
        color: #3b80f7;
        text-decoration: none;
        font-size: 14px;
        }

        .login-btn {
            width: 100%;
            background: #3b80f7;
            color: #fff;
            border: none;
            font-size: 16px;
            border-radius: 30px;
            padding: 10px 0;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .login-btn:hover {
            background: #2f6ae1;
        }
        .login-tip {
            margin-top: 10px;
            margin-left: 130px;
            color: gray;
            font-size: 14px;
        }
   </style>
</head>
<body>
  <div class="container">
    <div class="login-box">
      <div class="logo">
<!--        <img src="/images/logo.png" alt="千锋教育">-->
      </div>
      <p class="login-tip">使用用户名登录</p>
      <form id="loginForm" action="/login" method="post">
        <div class="input-group">
          <i class="icon user-icon"></i>
          <input type="text" name="username" placeholder="用户名" required />
          <span class="email">@1000phone.com</span>
        </div>
        <div class="input-group">
          <i class="icon password-icon"></i>
          <input type="password" name="password" placeholder="密码" required />
        </div>
        <button type="submit" class="login-btn">登录</button>
        <div>
          <a href="../../../../day30_1/src/main/webapp/regist.html">注册</a>
        </div>
      </form>
    </div>
  </div>
</body>
</html>
